package com.hg.design.creation.builder.mine;

import java.util.ArrayList;
import java.util.List;

public class TeamBuilding {
    public static void main(String[] args) {
        List<Staff> staffList = new ArrayList<>();
        staffList.add(new Staff("张三"));
        staffList.add(new Staff("李四"));
        staffList.add(new Staff("王五"));
        staffList.add(new Staff("赵六"));
        staffList.add(new Staff("杨七"));
        staffList.add(new Staff("胡八"));
        staffList.add(new Staff("郭九"));
        staffList.add(new Staff("陈一"));
        staffList.add(new Staff("吴二"));
        staffList.add(new Staff("赵崇德"));
        staffList.add(new Staff("胡斌"));
        staffList.add(new Staff("林一骐"));
        staffList.add(new Staff("莫震国"));
        staffList.add(new Staff("何建军"));
        staffList.add(new Staff("杨霁赫"));
        staffList.add(new Staff("赵丁红"));
        staffList.add(new Staff("滕昊"));
        staffList.add(new Staff("刘云东"));
        staffList.add(new Staff("张力"));
        staffList.add(new Staff("井军"));
        staffList.add(new Staff("陈展鹏"));
        staffList.add(new Staff("黄兆年"));
        staffList.add(new Staff("陈小萍"));
        staffList.add(new Staff("关苑琦"));
        staffList.add(new Staff("苏仪婷"));
        staffList.add(new Staff("甘颖斌"));
        staffList.add(new Staff("钟锦垣"));
        staffList.add(new Staff("吴汉州"));
        staffList.add(new Staff("段穗湘"));
        staffList.add(new Staff("赵瑞勇"));
        staffList.add(new Staff("黎英达"));
        staffList.add(new Staff("何建江"));
        staffList.add(new Staff("黄炜航"));
        staffList.add(new Staff("钟建威"));
        staffList.add(new Staff("麦杰豪"));
        staffList.add(new Staff("陈水莲"));
        staffList.add(new Staff("马晓萍"));
        staffList.add(new Staff("冯智广"));
        staffList.add(new Staff("卢信棋"));
        staffList.add(new Staff("岑玉华"));
        staffList.add(new Staff("黄春雪"));
        staffList.add(new Staff("曾画明"));
        staffList.add(new Staff("王燕"));
        staffList.add(new Staff("郑望"));
        staffList.add(new Staff("许晖"));
        staffList.add(new Staff("梁颖龙"));
        staffList.add(new Staff("杨秋玲"));
        staffList.add(new Staff("匡新华"));
        staffList.add(new Staff("韦伟新"));

        TeamBuilder teamBuilder = new TeamBuilder(staffList);
        teamBuilder.group();
        TeamA teamA = teamBuilder.getTeamA();
        teamA.showTeamLeader();
        teamA.showTeammate();
        teamA.showOne();
        teamA.showTwo();
        teamA.finishTask();
        TeamB teamB = teamBuilder.getTeamB();
        teamB.showTeamLeader();
        teamB.showTeammate();
        teamB.showOne();
        teamB.showTwo();
        teamB.finishTask();
        TeamC teamC = teamBuilder.getTeamC();
        teamC.showTeamLeader();
        teamC.showTeammate();
        teamC.showOne();
        teamC.showTwo();
        teamC.finishTask();
    }
}
